package com.example.administrator.application

import android.annotation.SuppressLint
import android.content.Intent
import android.os.Bundle
import kotlinx.android.synthetic.main.activity_main.*

@SuppressLint("Registered")
class SecondActivity : BaseActivity() {

    override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)
        setContentView(R.layout.activity_main)
        text.text = "第二个页面"
        text.setOnClickListener {
            val intent = Intent(this@SecondActivity, ThreeActivity::class.java)
            startActivity(intent)
        }
    }
}